package com.jiazhong.youju.commons.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class JSONResult<T> implements Serializable {
    private Boolean success;
    private String error;
    private Integer code;
    private T data;
}
